package com.getpebble.android.framework.install.firmware;

import com.getpebble.android.common.framework.install.PebbleBundle;
import java.util.Map;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;

public class FirmwareBundle extends PebbleBundle<FirmwareManifest> {
    public static final String TAG = FirmwareBundle.class.getSimpleName();
    private FirmwareManifest mManifest = ((FirmwareManifest) parseManifest(FirmwareManifest.class));

    public FirmwareBundle(ZipFile file, Map<String, ZipEntry> components) {
        super(file, components);
        if (this.mManifest == null) {
            throw new IllegalStateException("'Manifest' cannot be null!");
        }
    }

    public FirmwareManifest getManifest() {
        return this.mManifest;
    }
}
